Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 6 - Telephone Tools / Telephone Tools Reference
Data Structures


Call Forwarding Parameter Block

Your telephone tool passes a pointer to a call forwarding message parameter block to forward calls for a directory number to some other number. The call forwarding message parameter block is defined by the TELForwardPB data type.

struct TELForwardPB {
   StringPtr               forwardDN;
   StringPtr               forwardPartyName;
   StringPtr               forwardSubaddress;
   short                   forwardType;
   short                   numRings;
};
typedef struct TELForwardPB TELForwardPB;
Field Description
forwardDN
The directory number to which calls are to be forwarded.
forwardPartyName
A pointer to a Pascal-style string that stores the name associated with directory number forwardDN.
forwardSubaddress
A pointer to a Pascal-style string that stores the subaddress of directory number forwardDN.
forwardType
The type of call forwarding requested. See "Call Forwarding Types" on page 3-11 for a complete description of the available call forwarding types.
numRings
If forwardType is telForwardNoAnswer, the number of rings that should occur before a call is forwarded.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help